package vek.XML.parsedObjects;

/**
 * Simple class to contain the ParsedNonComercial data read by the XML Parsers.
 * This class is then used to create the NonComercial object by giving this object to its constructor.
 * When a ParsedNonComercial object is created, the ParsedAttractions class takes care of its own variable changes.
 * @see ParsedAttractions
 * @author Christian, Michal og Jakob (Hold 1, gruppe 2)
 */
public class ParsedNonComercial extends ParsedAttractions{
    
    public ParsedAttractions parsedAttractions;
    
    /**
    * @param pa the ParsedAttractions object containing data about this POI
    */
    public ParsedNonComercial(ParsedAttractions pa)
    {
        super(pa);
        
        parsedAttractions = pa;
        
    }
    
    /**
    * @param pnc the ParsedNonComercial object containing data about this POI
    */
    public ParsedNonComercial(ParsedNonComercial pnc)
    {
        super(pnc.parsedAttractions);
    }
    
    public String toString()
    {
        String s = super.toString();

        
        return s;
    }

}
